package org.zjx.data.screen;

import org.zjx.command.entity.screen.Room;
import org.zjx.data.BaseSceneBuilder;

import java.awt.*;

public class SiChouZhiLuSceneBuilder extends BaseSceneBuilder {

    @Override
    protected String getSceneName() {
        return "丝绸之路";
    }

    @Override
    protected Dimension getSceneSize() {
        return new Dimension(638, 94);
    }

    @Override
    protected void addMonsters() {

    }

    @Override
    protected void addNpcs() {
        addNpc("驿站老板", new Point(145, 5));
        addNpc("驿站老板", new Point(589, 86));
        addNpc("驿站老板", new Point(461, 4));
    }

    @Override
    protected void addRooms() {
        Room wuMingFoKu = createRoom("无名佛窟", null);
        addNpcToRoom(wuMingFoKu, "佛窟守护者", new Point(44, 5));
        rooms.add(wuMingFoKu);
    }

    @Override
    protected void addTeleports() {
        addSceneTeleport(new Point(306, 89), "朱紫国", new Point(153, 11), new Point(308, 93));
        addSceneTeleport(new Point(392, 88), "宝象国", new Point(8, 65), new Point(392, 91));

        addNpcTeleport("驿站老板", new Point(145, 5), "无名佛窟", new Point(44, 5), new Point(160, 9));
        addNpcTeleport("驿站老板", new Point(461, 4), "西梁女国", new Point(14, 15), new Point(465, 3));
        addNpcTeleport("驿站老板", new Point(589, 86), "长寿郊外", new Point(17, 28), new Point(585, 86));

        addRoomTeleport(new Point(145, 5), "无名佛窟", new Point(44, 5), new Point(160, 9));
    }

    public static void main(String[] args) {
        new SiChouZhiLuSceneBuilder().execute("sichouzhilu_scene.json", "丝绸之路");
    }
}